#include "LexicalAnalyzerPCH.h"
#include "TokenRecognizer.h"
#include "State.h"
#include "LexemeToken.h"

class RecognitionalState : public CFinalState {
public:
	RecognitionalState(const CLexemeToken::TOKEN_TYPE type)
		: m_RecognizedType(type) {}
	~RecognitionalState() {}

	CLexemeToken::TOKEN_TYPE GetType() const { return m_RecognizedType; }

private:
	const CLexemeToken::TOKEN_TYPE m_RecognizedType;

};

CTokenRecognizer::CTokenRecognizer( const CState* const initialState )
	: CFiniteStateMachine(initialState)
{
}


CTokenRecognizer::~CTokenRecognizer(void)
{
}
